package ldh.im.base.dao;

import ldh.im.base.pojo.ImMonitorAuth;
import ldh.im.base.pojo.where.ImMonitorAuthWhere;

import java.util.List;

/**
* @author: ldh
* @date: 2024-05-14 08:48:37
*/
public interface ImMonitorAuthDao {

	Integer insert(ImMonitorAuth imMonitorAuth);

	Integer insertSelective(ImMonitorAuth imMonitorAuth);

	Integer updateById(ImMonitorAuth imMonitorAuth);
	
	Integer updateNotNullById(ImMonitorAuth imMonitorAuth);
	
	Integer deleteById(Long id);

	Integer updateByCode(ImMonitorAuth imMonitorAuth);
	
	Integer updateNotNullByCode(ImMonitorAuth imMonitorAuth);
	
	Integer deleteByCode(String code);

	ImMonitorAuth getById(Long id);

	ImMonitorAuth getByCode(String code);

	List<ImMonitorAuth> findByImMonitorAuthWhere(ImMonitorAuthWhere imMonitorAuthWhere);
	
	Long findTotalByImMonitorAuthWhere(ImMonitorAuthWhere imMonitorAuthWhere);
	
	
}
